<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
	<h:form>
	<ul class="site-nav">
		<h:outputText rendered="#{acessoUsuarioPermissaoHandler.associado}">
			<li><h:commandLink action='#{acessoUsuarioPermissaoHandler.telaAssociado}'>Associado</h:commandLink></li>
		</h:outputText>
		<h:outputText rendered="#{acessoUsuarioPermissaoHandler.instituicao}">
			<li><h:commandLink action='#{acessoUsuarioPermissaoHandler.telaInstituicao}'>Instituição</h:commandLink></li>
		</h:outputText>
		<h:outputText rendered="#{acessoUsuarioPermissaoHandler.paciente}">
			<li><h:commandLink action='#{acessoUsuarioPermissaoHandler.telaPaciente}'>Paciente</h:commandLink></li>
		</h:outputText>
		<h:outputText rendered="#{acessoUsuarioPermissaoHandler.naoLogado}">
			<li class="last"><h:commandLink action='#{acessoUsuarioHandler.telaLogin}'>Login</h:commandLink></li>
		</h:outputText>
		<h:outputText rendered="#{acessoUsuarioPermissaoHandler.logado}">
			<li class="last"><h:commandLink action='#{acessoUsuarioHandler.logout}'>
			Logout: <h:outputText value="#{acessoUsuarioHandler.usuario.login}" />
			</h:commandLink></li>
		</h:outputText>
	</ul>
	</h:form>
	<br />
</ui:composition>
</html>
